export const rulesWxForm= {
  appid: [
	{
	  required: true,
	  message: '请输入微信appid',
	  trigger: 'blur'
	}
  ],
  mchid: [
	{
	  required: true,
	  message: '请输入微信直连商户号',
	  trigger: 'blur'
	}
  ],

  appV3Key: [
	{
	  required: true,
	  message: '请输入微信APIv3密钥',
	  trigger: 'blur'
	}
  ],
  merchantSerialNumber: [
	{
	  required: true,
	  message: '请输入微信证书序列号',
	  trigger: 'blur'
	}
  ],
  privateKeyPath: [
	{
	  required: true,
	  message: '请输入私钥',
	  trigger: 'blur'
	}
  ],
}

export  const rulesWxServiceForm={
	spAppid: [
	  {
		required: true,
		message: '请输入微信服务商应用ID',
		trigger: 'blur'
	  }
	],
	spMchid: [
	  {
		required: true,
		message: '请输入微信服务商户号',
		trigger: 'blur'
	  }
	],
	subMchid: [
	  {
		required: true,
		message: '请输入微信子商户号',
		trigger: 'blur'
	  }
	],
	appV2Key: [
	  {
		required: true,
		message: '请输入微信APIv2密钥',
		trigger: 'blur'
	  }
	],
	appV3Key: [
	  {
		required: true,
		message: '请输入微信APIv3密钥',
		trigger: 'blur'
	  }
	],
	merchantSerialNumber: [
	  {
		required: true,
		message: '请输入微信证书序列号',
		trigger: 'blur'
	  }
	],
	privateKeyPath: [
	  {
		required: true,
		message: '请输入私钥',
		trigger: 'blur'
	  }
	],
	domain: [
	  {
		required: true,
		message: '请输入微信服务器地址',
		trigger: 'blur'
	  }
	]
  }
  export const rulesZfbForm= {
	alipayAppid: [
	  {
		required: true,
		message: '请输入支付宝appid',
		trigger: 'blur'
	  }
	],
	alipayPublicKey: [
	  {
	    required: true,
	    message: '请输入支付宝公钥',
	    trigger: 'blur'
	  }
	],
	appPrivateKey: [
	  {
		required: true,
		message: '请输入应用私钥',
		trigger: 'blur'
	  }
	],
	appPublicKey: [
	  {
		required: true,
		message: '请输入应用公钥',
		trigger: 'blur'
	  }
	]
  }
export  const  rulesZfbServiceForm= {
	alipayAppid: [
	  {
		required: true,
		message: '请输入支付宝appid',
		trigger: 'blur'
	  }
	],
	// alipayPublicKey: [
	//   {
	//     required: true,
	//     message: '请输入支付宝公钥',
	//     trigger: 'blur'
	//   }
	// ],
	appPrivateKey: [
	  {
		required: true,
		message: '请输入应用私钥',
		trigger: 'blur'
	  }
	],
	appPublicKey: [
	  {
		required: true,
		message: '请输入应用公钥',
		trigger: 'blur'
	  }
	],
	transInType: [
	  {
		required: true,
		message: '请选择收款方账户类型',
		trigger: 'blur'
	  }
	],
	transIn: [
	  {
		required: true,
		message: '请输入用户的支付宝登录号',
		trigger: 'blur'
	  }
	],
  }